package cn.hongwei.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
@FeignClient(value = "seata-stock",path = "/stock")
public interface StockFeign {

    @GetMapping("reduce")
    String reduce(@RequestParam("productId") Integer productId);
}
